home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / fractal / kaos.lha / scanlib / destroy_scan_windows.c < prev    next >
Encoding:
C/C++ Source or Header  |  1989-12-07  |  398 b   |  21 lines

  1. /*
  2. ### destroy a scanunov window ###
  3. */
  4.  
  5. #include <suntool/sunview.h>
  6. #include <suntool/panel.h>
  7.  
  8. void destroy_scan_windows()
  9. {
  10.         extern short scan_panel_show;
  11.         extern Frame scan_frame;
  12.         extern Panel scan_panel;
  13.  
  14.         if(scan_panel_show){
  15.                 window_destroy(scan_panel);
  16.                 window_destroy(scan_frame);
  17.                 scan_panel_show=0;
  18.         }
  19. }
  20.  
  21.